package com.one.service;

import com.one.dto.PageResponseDto;
import com.one.dto.SupervisorLoginDTO;
import com.one.dto.SupervisorPageRequestDTO;
import com.one.dto.SupervisorResetDTO;
import com.one.entity.Supervisor;
import com.one.result.Result;

public interface SupervisorService {
    Supervisor login(SupervisorLoginDTO supervisorLoginDTO);

    int saveSupervisor(Supervisor supervisor);

    Supervisor getSupervisorById(String telId);
    int resetPassword(SupervisorResetDTO supervisorResetDTO);

    PageResponseDto<Supervisor> getSupervisorList(SupervisorPageRequestDTO supervisorPageRequestDTO);

    int updateSupervisor(Supervisor supervisor);

    int deleteBytelId(String telId);

}
